//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

public class LiveTaskUser implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Integer state;
    private Long createUser;
    private Long createTime;
    private Long taskId;
    private Long productId;
    private Long examId;
    private Integer taskDuration;
    private Integer taskType;
    private Integer taskProgress;
    private Integer taskProcudtCount;
    private Integer taskProcudtCountUsed;
    private Integer taskOrder;
    private Long leuId;
    private Integer hasConnect;
    @TableField(
            exist = false
    )
    private String proName;
    private Integer taskQuestionAnswerCount;

    public LiveTaskUser() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getTaskId() {
        return this.taskId;
    }

    public Long getProductId() {
        return this.productId;
    }

    public Long getExamId() {
        return this.examId;
    }

    public Integer getTaskDuration() {
        return this.taskDuration;
    }

    public Integer getTaskType() {
        return this.taskType;
    }

    public Integer getTaskProgress() {
        return this.taskProgress;
    }

    public Integer getTaskProcudtCount() {
        return this.taskProcudtCount;
    }

    public Integer getTaskProcudtCountUsed() {
        return this.taskProcudtCountUsed;
    }

    public Integer getTaskOrder() {
        return this.taskOrder;
    }

    public Long getLeuId() {
        return this.leuId;
    }

    public Integer getHasConnect() {
        return this.hasConnect;
    }

    public String getProName() {
        return this.proName;
    }

    public Integer getTaskQuestionAnswerCount() {
        return this.taskQuestionAnswerCount;
    }

    public LiveTaskUser setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveTaskUser setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveTaskUser setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveTaskUser setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveTaskUser setTaskId(final Long taskId) {
        this.taskId = taskId;
        return this;
    }

    public LiveTaskUser setProductId(final Long productId) {
        this.productId = productId;
        return this;
    }

    public LiveTaskUser setExamId(final Long examId) {
        this.examId = examId;
        return this;
    }

    public LiveTaskUser setTaskDuration(final Integer taskDuration) {
        this.taskDuration = taskDuration;
        return this;
    }

    public LiveTaskUser setTaskType(final Integer taskType) {
        this.taskType = taskType;
        return this;
    }

    public LiveTaskUser setTaskProgress(final Integer taskProgress) {
        this.taskProgress = taskProgress;
        return this;
    }

    public LiveTaskUser setTaskProcudtCount(final Integer taskProcudtCount) {
        this.taskProcudtCount = taskProcudtCount;
        return this;
    }

    public LiveTaskUser setTaskProcudtCountUsed(final Integer taskProcudtCountUsed) {
        this.taskProcudtCountUsed = taskProcudtCountUsed;
        return this;
    }

    public LiveTaskUser setTaskOrder(final Integer taskOrder) {
        this.taskOrder = taskOrder;
        return this;
    }

    public LiveTaskUser setLeuId(final Long leuId) {
        this.leuId = leuId;
        return this;
    }

    public LiveTaskUser setHasConnect(final Integer hasConnect) {
        this.hasConnect = hasConnect;
        return this;
    }

    public LiveTaskUser setProName(final String proName) {
        this.proName = proName;
        return this;
    }

    public LiveTaskUser setTaskQuestionAnswerCount(final Integer taskQuestionAnswerCount) {
        this.taskQuestionAnswerCount = taskQuestionAnswerCount;
        return this;
    }

    public String toString() {
        return "LiveTaskUser(id=" + this.getId() + ", state=" + this.getState() + ", createUser=" + this.getCreateUser() + ", createTime=" + this.getCreateTime() + ", taskId=" + this.getTaskId() + ", productId=" + this.getProductId() + ", examId=" + this.getExamId() + ", taskDuration=" + this.getTaskDuration() + ", taskType=" + this.getTaskType() + ", taskProgress=" + this.getTaskProgress() + ", taskProcudtCount=" + this.getTaskProcudtCount() + ", taskProcudtCountUsed=" + this.getTaskProcudtCountUsed() + ", taskOrder=" + this.getTaskOrder() + ", leuId=" + this.getLeuId() + ", hasConnect=" + this.getHasConnect() + ", proName=" + this.getProName() + ", taskQuestionAnswerCount=" + this.getTaskQuestionAnswerCount() + ")";
    }

    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof LiveTaskUser)) {
            return false;
        } else {
            LiveTaskUser other = (LiveTaskUser)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                label215: {
                    Object this$id = this.getId();
                    Object other$id = other.getId();
                    if (this$id == null) {
                        if (other$id == null) {
                            break label215;
                        }
                    } else if (this$id.equals(other$id)) {
                        break label215;
                    }

                    return false;
                }

                Object this$state = this.getState();
                Object other$state = other.getState();
                if (this$state == null) {
                    if (other$state != null) {
                        return false;
                    }
                } else if (!this$state.equals(other$state)) {
                    return false;
                }

                label201: {
                    Object this$createUser = this.getCreateUser();
                    Object other$createUser = other.getCreateUser();
                    if (this$createUser == null) {
                        if (other$createUser == null) {
                            break label201;
                        }
                    } else if (this$createUser.equals(other$createUser)) {
                        break label201;
                    }

                    return false;
                }

                Object this$createTime = this.getCreateTime();
                Object other$createTime = other.getCreateTime();
                if (this$createTime == null) {
                    if (other$createTime != null) {
                        return false;
                    }
                } else if (!this$createTime.equals(other$createTime)) {
                    return false;
                }

                label187: {
                    Object this$taskId = this.getTaskId();
                    Object other$taskId = other.getTaskId();
                    if (this$taskId == null) {
                        if (other$taskId == null) {
                            break label187;
                        }
                    } else if (this$taskId.equals(other$taskId)) {
                        break label187;
                    }

                    return false;
                }

                Object this$productId = this.getProductId();
                Object other$productId = other.getProductId();
                if (this$productId == null) {
                    if (other$productId != null) {
                        return false;
                    }
                } else if (!this$productId.equals(other$productId)) {
                    return false;
                }

                label173: {
                    Object this$examId = this.getExamId();
                    Object other$examId = other.getExamId();
                    if (this$examId == null) {
                        if (other$examId == null) {
                            break label173;
                        }
                    } else if (this$examId.equals(other$examId)) {
                        break label173;
                    }

                    return false;
                }

                label166: {
                    Object this$taskDuration = this.getTaskDuration();
                    Object other$taskDuration = other.getTaskDuration();
                    if (this$taskDuration == null) {
                        if (other$taskDuration == null) {
                            break label166;
                        }
                    } else if (this$taskDuration.equals(other$taskDuration)) {
                        break label166;
                    }

                    return false;
                }

                Object this$taskType = this.getTaskType();
                Object other$taskType = other.getTaskType();
                if (this$taskType == null) {
                    if (other$taskType != null) {
                        return false;
                    }
                } else if (!this$taskType.equals(other$taskType)) {
                    return false;
                }

                label152: {
                    Object this$taskProgress = this.getTaskProgress();
                    Object other$taskProgress = other.getTaskProgress();
                    if (this$taskProgress == null) {
                        if (other$taskProgress == null) {
                            break label152;
                        }
                    } else if (this$taskProgress.equals(other$taskProgress)) {
                        break label152;
                    }

                    return false;
                }

                label145: {
                    Object this$taskProcudtCount = this.getTaskProcudtCount();
                    Object other$taskProcudtCount = other.getTaskProcudtCount();
                    if (this$taskProcudtCount == null) {
                        if (other$taskProcudtCount == null) {
                            break label145;
                        }
                    } else if (this$taskProcudtCount.equals(other$taskProcudtCount)) {
                        break label145;
                    }

                    return false;
                }

                Object this$taskProcudtCountUsed = this.getTaskProcudtCountUsed();
                Object other$taskProcudtCountUsed = other.getTaskProcudtCountUsed();
                if (this$taskProcudtCountUsed == null) {
                    if (other$taskProcudtCountUsed != null) {
                        return false;
                    }
                } else if (!this$taskProcudtCountUsed.equals(other$taskProcudtCountUsed)) {
                    return false;
                }

                Object this$taskOrder = this.getTaskOrder();
                Object other$taskOrder = other.getTaskOrder();
                if (this$taskOrder == null) {
                    if (other$taskOrder != null) {
                        return false;
                    }
                } else if (!this$taskOrder.equals(other$taskOrder)) {
                    return false;
                }

                label124: {
                    Object this$leuId = this.getLeuId();
                    Object other$leuId = other.getLeuId();
                    if (this$leuId == null) {
                        if (other$leuId == null) {
                            break label124;
                        }
                    } else if (this$leuId.equals(other$leuId)) {
                        break label124;
                    }

                    return false;
                }

                Object this$hasConnect = this.getHasConnect();
                Object other$hasConnect = other.getHasConnect();
                if (this$hasConnect == null) {
                    if (other$hasConnect != null) {
                        return false;
                    }
                } else if (!this$hasConnect.equals(other$hasConnect)) {
                    return false;
                }

                Object this$proName = this.getProName();
                Object other$proName = other.getProName();
                if (this$proName == null) {
                    if (other$proName != null) {
                        return false;
                    }
                } else if (!this$proName.equals(other$proName)) {
                    return false;
                }

                Object this$taskQuestionAnswerCount = this.getTaskQuestionAnswerCount();
                Object other$taskQuestionAnswerCount = other.getTaskQuestionAnswerCount();
                if (this$taskQuestionAnswerCount == null) {
                    if (other$taskQuestionAnswerCount != null) {
                        return false;
                    }
                } else if (!this$taskQuestionAnswerCount.equals(other$taskQuestionAnswerCount)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(final Object other) {
        return other instanceof LiveTaskUser;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $id = this.getId();
        int result1 = result * 59 + ($id == null ? 43 : $id.hashCode());
        Object $state = this.getState();
        result1 = result * 59 + ($state == null ? 43 : $state.hashCode());
        Object $createUser = this.getCreateUser();
        result1 = result * 59 + ($createUser == null ? 43 : $createUser.hashCode());
        Object $createTime = this.getCreateTime();
        result1 = result * 59 + ($createTime == null ? 43 : $createTime.hashCode());
        Object $taskId = this.getTaskId();
        result1 = result * 59 + ($taskId == null ? 43 : $taskId.hashCode());
        Object $productId = this.getProductId();
        result1 = result * 59 + ($productId == null ? 43 : $productId.hashCode());
        Object $examId = this.getExamId();
        result1 = result * 59 + ($examId == null ? 43 : $examId.hashCode());
        Object $taskDuration = this.getTaskDuration();
        result1 = result * 59 + ($taskDuration == null ? 43 : $taskDuration.hashCode());
        Object $taskType = this.getTaskType();
        result1 = result * 59 + ($taskType == null ? 43 : $taskType.hashCode());
        Object $taskProgress = this.getTaskProgress();
        result1 = result * 59 + ($taskProgress == null ? 43 : $taskProgress.hashCode());
        Object $taskProcudtCount = this.getTaskProcudtCount();
        result1 = result * 59 + ($taskProcudtCount == null ? 43 : $taskProcudtCount.hashCode());
        Object $taskProcudtCountUsed = this.getTaskProcudtCountUsed();
        result1 = result * 59 + ($taskProcudtCountUsed == null ? 43 : $taskProcudtCountUsed.hashCode());
        Object $taskOrder = this.getTaskOrder();
        result1 = result * 59 + ($taskOrder == null ? 43 : $taskOrder.hashCode());
        Object $leuId = this.getLeuId();
        result1 = result * 59 + ($leuId == null ? 43 : $leuId.hashCode());
        Object $hasConnect = this.getHasConnect();
        result1 = result * 59 + ($hasConnect == null ? 43 : $hasConnect.hashCode());
        Object $proName = this.getProName();
        result1 = result * 59 + ($proName == null ? 43 : $proName.hashCode());
        Object $taskQuestionAnswerCount = this.getTaskQuestionAnswerCount();
        result1 = result * 59 + ($taskQuestionAnswerCount == null ? 43 : $taskQuestionAnswerCount.hashCode());
        return result1;
    }
}
